package com.dgut.service;

import com.dgut.pojo.User;
import com.dgut.pojo.receive.AdministratorAndBuyerReceive;

import java.util.List;

public interface UserService {

    /**
     * start-zwb
     */
    public Object returnUserInformation(Integer id);//返回用户信息
    /**
     * end-zwb
     */


     /**
     * start-lzh
     */
    //用户修改自己的密码
    public Object UpdateUserPassword(Integer id,String password1,String password2);
    /**
     * end-lzh
     */



    /**
     * start-hwf
     */
    boolean deleteUser(int id);
    boolean check(User user);
    String getRole(Integer userId);
    User getUser(int userId);
    boolean updateUser(User user);
    boolean resetPassword(AdministratorAndBuyerReceive administratorAndBuyerReceive);
    /**
     * end-hwf
     */
}
